package com.caipos.actor.common.data;


import com.caipos.actor.common.data.id.EntityId;
import com.caipos.actor.common.data.id.HasId;
import com.caipos.actor.common.data.id.TenantId;

public interface ExportableEntity<I extends EntityId> extends HasId<I>, HasName {

    void setId(I id);

    I getExternalId();

    void setExternalId(I externalId);

    long getCreatedTime();

    void setCreatedTime(long createdTime);

    void setTenantId(TenantId tenantId);

}
